//
//  StringUtils.h
//  SKStock
//
//  Created by thPark on 11. 1. 3..
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface StringUtils : NSObject {

}

+ (NSString *)toCurrencyFormatWithIntValue:(int)value;
+ (NSString *)toCurrencyFormatWithStrValue:(NSString *)value;
+ (NSString *)toCurrencyFormatWithULongLongValue:(uint64_t)value;
+ (NSString *)toCurrencyFormatWithDoubleValue:(double)value;
+ (BOOL)isCheckNotNull:(NSString*)str;
+ (CGSize)getStringSize:(NSString*)str fsize:(int)fontSize;
+ (BOOL)isContainStr:(NSString*)str chekStr:(NSString*)chekStr;
+ (NSString*)getPassWordString:(NSString*)str;
/**
	특정 문자 변환
	@param str 기본 문자열
	@param checkStr 변환할 하는 문자
	@param replaceStr 변환하고자 하는 문자
	@returns 변환된 문자열
 */
+ (NSString *)clearDateStr:(NSString*)str chekStr:(NSString*)checkStr replaceStr:(NSString*)replaceStr;
/**
	두 문자열 크기 비교
	@param aBase <#aBase description#>
	@param aMoney <#aMoney description#>
	@returns <#return value description#>
 */
+ (NSString*)compareStrSign:(NSString*)aBase aMoney:(NSString*)aMoney;

/**
	일반 문자열 숫자 포멧으로 변환
	@param str <#str description#>
	@returns <#return value description#>
 */
+ (NSString*)changeNumToStr:(NSString*)str;

/**
    '원' 단위 제거 추가
 */

+ (NSString*)changeNumToStrWithoutWon:(NSString*)str;

+ (NSString*)changeDoubleNumToStr:(NSString*)str;

/**
	+, - 부호로 sign키로 변경
	@param str <#str description#>
	@returns <#return value description#>
 */
+ (NSString*)getCheckSign:(NSString*)str;

/**
	+, - 부호 삭제한 텍스트 리턴
	@param str 
	@returns 
 */
+ (NSString*)getDeleteSign:(NSString*)str;
+ (NSString*)getChangeSign:(NSString*)str;
+ (NSString*)getChangePercent:(NSString*)str;


+(NSString*)moneyFormat:(NSString*)strNumber;
+ (NSString*)getStrXX1Type:(NSString*)type;

+(BOOL)isNumberStringOnly:(NSString*)str;

@end
